/* 容器样式 */
.container {
  min-height: 100vh;
  background-color: #000;
  color: #fff;
  padding: 16px;
  padding-bottom: 60px; /* 为底部导航栏留出空间 */
}

/* 加载状态 */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #000;
  color: #fff;
  font-size: 16px;
}

/* 登录区域样式 */
.loginSection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.userAvatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #333;
}

.userAvatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loginButton {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.loginButton:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* 导航菜单样式 */
.navMenu {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.navItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.navItem:hover {
  opacity: 0.8;
}

.navItem i {
  width: 24px;
  height: 24px;
  display: block;
  background-size: contain;
}

.navItem span {
  font-size: 12px;
  color: #fff;
}

/* 我的音乐区域样式 */
.myMusicSection {
  margin-bottom: 32px;
}

.sectionHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sectionHeader h2 {
  font-size: 18px;
  font-weight: bold;
}

.more {
  color: #999;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.more:hover {
  color: #fff;
}

.musicCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.musicCard {
  background-color: #333;
  border-radius: 8px;
  padding: 16px;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.musicCard:hover {
  transform: translateY(-2px);
}

.cardContent {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.cardLabel {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-size: 12px;
  color: #999;
}

/* 最近播放区域样式 */
.recentSection {
  margin-bottom: 32px;
}

.songList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.songItem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  background-color: #333;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.songItem:hover {
  background-color: #444;
}

.songCover {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
}

.songInfo {
  flex: 1;
}

.songName {
  font-size: 14px;
  margin-bottom: 4px;
}

.songArtist {
  font-size: 12px;
  color: #999;
}

/* 底部导航栏样式 */
.bottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  background-color: #1a1a1a;
  padding: 8px 0;
  border-top: 1px solid #333;
}

.bottomNavItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.bottomNavItem:hover {
  opacity: 0.8;
}

.bottomNavItem span {
  font-size: 12px;
  color: #999;
}

.bottomNavItem.active span {
  color: #ff3a3a;
}

/* 图标样式 */
.iconLocal,
.iconRadio,
.iconFavorite,
.iconRecent,
.iconHeart,
.iconFM,
.iconCar,
.iconDiscover,
.iconVideo,
.iconMine,
.iconCommunity,
.iconAccount {
  width: 24px;
  height: 24px;
  background-color: #666;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.active .iconMine {
  background-color: #ff3a3a;
} 